package com.gxa.xc.rbac.exception;

/**
 * 自定义的异常 => 没有权限 返回对应的提示页面
 * @author:IT-CNLM
 * @date:Created at 2020/10/27
 */
public class PermissionPageException extends RuntimeException {


    /**
     * 异常码
     */
    private Integer code;


    /**
     * 异常信息
     */
    private String msg;


    public PermissionPageException() {

    }

    public PermissionPageException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
